package com.zhou.JavaAndroidFirm.activity;

import android.os.Bundle;
import android.support.v4.view.ViewPager;

import com.zhou.JavaAndroidFirm.adapter.GuigeAdapter;
import com.zhou.JavaAndroidFirm.R;
import com.zhou.JavaAndroidFirm.base.BaseActivity;

import butterknife.BindView;

public class GuideActivity extends BaseActivity {
    @BindView(R.id.guide)
    ViewPager guide;
    GuigeAdapter mAdapter;
    private int[] guides;

    @Override
    protected int getLayoutId() {
        return R.layout.activity_guide;
    }

    @Override
    protected void initPresenter() {

    }

    @Override
    protected void initView(Bundle bundle) {
        guides = new int[]{
                R.mipmap.ic_launcher_round,
                R.mipmap.ic_launcher_round,
                R.mipmap.ic_launcher_round,
                R.mipmap.ic_launcher_round
        };
    }

    @Override
    protected void initEvent() {
        mAdapter = new GuigeAdapter(mContext, guides);
        guide.setAdapter(mAdapter);
    }

}
